{extend name="base" /}
{block name="body"}
<div class="layui-card">
  <div class="layui-card-body">
    <blockquote class="layui-elem-quote layui-text">
      管理日志：<span class="text-danger">禁止删除</span>，是查询用户操作的唯一证据！
    </blockquote>
    <div class="layui-form-item">
      <form class="layui-form layui-form-pane" action="{:request()->url()}" >
        <div class="layui-input-inline">
          <input type="text" name="title" lay-verify="title" autocomplete="off" placeholder="{if $Request.get.title}{$Request.get.title}{else}请输入关键字{/if}" class="layui-input">
        </div>
        <div class="layui-input-inline">
          <button type="submit" class="layui-btn" lay-submit="" lay-filter="demo1">{$Think.lang.search}</button>
          <button type="reset" class="layui-btn layui-btn-primary">{$Think.lang.reset}</button>
        </div>
        </form>
    </div>
    <table class="layui-table layui-form" lay-skin="line">
        <thead>
            <tr>
                <th>{$Think.lang.id}</th>
                <th>{$Think.lang.name}</th>
                <th>{$Think.lang.ip}</th>
                <th>{$Think.lang.change}</th>
                <th>{$Think.lang.type}</th>
                <th>{$Think.lang.describe}</th>
                <th>{$Think.lang.createTime}</th>
            </tr>
        </thead>
        <tbody>
            {volist name="list" id="v" empty="$empty"}
            <tr>
                <td>{$i}</td>
                <td>{$v.user_name}</td>
                <td>{$v.ip}</td>
                <td>{$v.method}</td>
                <td>{$v.type}</td>
                <td>{$v.remark}</td>
                <td>{$v.create_time|date='Y-m-d'}</td>
            </tr>
            {/volist}
        </tbody>
    </table>
    <div class="page">{$list|raw}</div>
  </div>
</div>
{/block}
{block name="js"}
{/block}